package com.nbst.model.mes;

/**
 * 订单与库存关系记录表
 * @ClassName: OrderStockBill
 * @Description:
 * @author King
 * @date 2019年1月24日
 *
 */
public class OrderStockBill {

	/**销售订单分录内码*/
	private Integer fDetailID;

	/**任务单号*/
	private Integer fIcmoId;
	
	/**初始占用库存数*/
	private Double fStockQty;

	/**初始调拔数*/
	private Double fAllotQty;

	/**订单数*/
	private Double fOrderQty;

	/**订单剩余需求数*/
	private Double fNeedQty;

	/**初始调拔单号*/
	private String fAllotBillNo;
	
	/**关闭标志*/
	private Integer fClosed;

	public Double getfStockQty() {
		return fStockQty;
	}

	public void setfStockQty(Double fStockQty) {
		this.fStockQty = fStockQty;
	}

	public Double getfAllotQty() {
		return fAllotQty;
	}

	public void setfAllotQty(Double fAllotQty) {
		this.fAllotQty = fAllotQty;
	}

	public Double getfOrderQty() {
		return fOrderQty;
	}

	public void setfOrderQty(Double fOrderQty) {
		this.fOrderQty = fOrderQty;
	}

	public Double getfNeedQty() {
		return fNeedQty;
	}

	public void setfNeedQty(Double fNeedQty) {
		this.fNeedQty = fNeedQty;
	}

	public String getfAllotBillNo() {
		return fAllotBillNo;
	}

	public void setfAllotBillNo(String fAllotBillNo) {
		this.fAllotBillNo = fAllotBillNo == null ? null : fAllotBillNo.trim();
	}

	public Integer getfDetailID() {
		return fDetailID;
	}

	public void setfDetailID(Integer fDetailID) {
		this.fDetailID = fDetailID;
	}

	public Integer getfIcmoId() {
		return fIcmoId;
	}

	public void setfIcmoId(Integer fIcmoId) {
		this.fIcmoId = fIcmoId;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	@Override
	public String toString() {
		return "OrderStockBill [fDetailID=" + fDetailID + ", fIcmoId=" + fIcmoId + ", fStockQty=" + fStockQty
				+ ", fAllotQty=" + fAllotQty + ", fOrderQty=" + fOrderQty + ", fNeedQty=" + fNeedQty + ", fAllotBillNo="
				+ fAllotBillNo + ", fClosed=" + fClosed + "]";
	}

}